package com.htpay.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.htpay.model.entity.MerchantWalletInfo;

public interface IMerchantWalletService extends IService<MerchantWalletInfo> {
    /**
     * 新增商户余额信息
     * <p>
     * 自动生成
     *
     * @param merchantWalletInfo
     */
    public void addMerchantWalletInfo(MerchantWalletInfo merchantWalletInfo);

    /**
     * 获取余额 - 根据商户ID
     *
     * @param merchantId
     * @return
     */
    public MerchantWalletInfo getWalletInfoByMerchantId(int merchantId);

    /**
     * 修改提现密码
     *
     * @param merchantId
     * @param withdrawPwd
     */
    public void updateWithdrawPwd(Integer merchantId, String withdrawPwd);
}
